//
//  CustomTabBar.h
//  Meroad
//
//  Created by 郭孝通 on 2019/1/25.
//  Copyright © 2019 郭孝通. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomTabBarItem.h"

@protocol CustomTabbarDelegate <NSObject>

@required
- (void)tabbarDidSelected:(NSInteger)index;

@end


@interface CustomTabBar : UIView
@property (nonatomic, copy) NSArray<NSDictionary *> *tabBarItemAttributes;
@property (nonatomic, weak) id <CustomTabbarDelegate> delegate;
-(void)setSelectedIndex:(NSInteger)index;

@end


